]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
toolbox/meson-test: Quote arguments
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 18 Feb 2025 19:26:03 +0000 (20:26 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sat, 12 Apr 2025 19:16:54 +0000 (19:16 +0000)
Without the quotes, arguments are subject to word splitting.

That is, it is currently not possible to run a test with spaces
in its name.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3641>

tools/toolbox/meson-test.sh

index 72631c25b9562e5c47687cd4400aab41b3c5f870..76f0748fb86d20db32ad61d07a37a9998d3f66d9 100755 (executable)
@@ -105,4 +105,4 @@ find_toplevel
 BUILD_DIR=build-$TOOLBOX
 
 toolbox run --container $TOOLBOX \
-  meson test -C $BUILD_DIR ${MESON_ARGS[*]} $@
+  meson test -C $BUILD_DIR ${MESON_ARGS[*]} "$@"